package ooday03;

public class Chick extends  Animal{
    Chick(String name,String color,int age){
        super(name,color,age);
    }
    void leg(){
        System.out.println(name+"正在下蛋");
    }
    void eat(){
        System.out.println("一身"+color+age+"岁的"+name+"正在吃小米");
    }
}
